package cn.chia.service;

import java.util.List;
import java.util.Map;

import cn.chia.pojo.Orderitems;
import cn.chia.pojo.Orders;
/*
 * 于辉   订单Service
 */
public interface OrderService {
	void update(Orders vo) throws Exception;
	List<?> findall() throws Exception;
	List<?> findallfront() throws Exception;
	Orders findById(Integer id) throws Exception;
	int getAllCount() throws Exception;
	public void updateFront(Orders vo) throws Exception;
	public Orders findFrontById(Integer id) throws Exception;
	List<?> findOrdersByState(String state) throws Exception;
	List<?> findOrdersByStateBack(String state) throws Exception;
	void add(Orders vo) throws Exception;
	Orders findByNumber(String number) throws Exception;
	void addOrderItems(Orderitems vo) throws Exception;
	Orders findByOrderNumber(String findByOrderNumber) throws Exception;
	List<?> findOverdueOrders() throws Exception;
	List<?> findordersbystateuszdtime(String state,String uszdtime) throws Exception;
	Map<String, Object> map (int pageNo, int pageSize, String keyword, String column) throws Exception; 
}
